import { useParams } from "react-router-dom"
const Friend = (props) => {
    // console.log(props)
    let params = useParams()
    // console.log(params)
    return (
        <fieldset>
            <legend>狱友</legend>
            <h1>动态路由参数:{params.id}</h1>
            <h1>李x峰</h1>
            <h1>吴x凡</h1>
            <h1>x浩</h1>
            <h1>周x豪</h1>
            <h1>x辉</h1>
        </fieldset>
    )
}

export default Friend